package com.ruoyi.system.domain.request.reportstatistics;

import com.ruoyi.system.domain.request.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * 描述
 * 作者 ZhangPing
 * 创建时间 2023/8/24 11:35
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class DeviceAlarmListParam extends PageParam {
    @ApiModelProperty(value = "公司ID")
    private Long companyId;
    @ApiModelProperty(value = "车牌号")
    private String numberPlate;
    @ApiModelProperty(value = "告警类型")
    private Integer type;
    @ApiModelProperty(value = "告警等级 0：低风险 1：中风险 2：高风险")
    private Integer level;
    @ApiModelProperty(value = "告警来源0：设备 1：平台")
    private Integer source;
    @ApiModelProperty(value = "开始时间", required = true)
    @NotEmpty(message = "开始时间不能为空")
    private String startTime;
    @NotEmpty(message = "结束时间不能为空")
    @ApiModelProperty(value = "结束时间", required = true)
    private String endTime;
}
